package com.czl.module_service.viewmodel

import com.czl.base.base.BaseViewModel
import com.czl.base.base.MyApplication
import com.czl.base.binding.command.BindingAction
import com.czl.base.binding.command.BindingCommand
import com.czl.base.data.DataRepository

class PurchaseApprovalListViewModel(application: MyApplication, model: DataRepository) :
    BaseViewModel<DataRepository>(application, model) {

    var currentPage = 0
    val uc = UiChangeEvent()

    class UiChangeEvent {
    }

    val onLoadMoreListener: BindingCommand<Void> = BindingCommand(BindingAction {
    })
    val onRefreshListener: BindingCommand<Void> = BindingCommand(BindingAction {
        currentPage = 0
    })
}